package com.lihao.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @ClassName Course
 * @Description TODO
 * @Author LiHao
 * @Date 2022/11/19 13:13
 * @Version 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Course {
    /** 序号 */
    private Integer id ;
    /** 课程名称 */
    private String cname ;
    /** 起止周 */
    private String week ;
    /** 上课地点 */
    private String location ;
    /** 周一 哪几节上课*/
    private Integer monday ;
    /** 周二 哪几节上课*/
    private Integer tuesday ;
    /** 周三 哪几节上课*/
    private Integer wednesday ;
    /** 周四 哪几节上课*/
    private Integer thursday ;
    /** 周五 哪几节上课*/
    private Integer friday ;
    /** 周六 哪几节上课*/
    private Integer saturday ;
    /** 周日 哪几节上课*/
    private Integer sunday ;

    public Course(String cname, String week, String location, Integer monday, Integer tuesday, Integer wednesday, Integer thursday, Integer friday, Integer saturday, Integer sunday) {
        this.cname = cname;
        this.week = week;
        this.location = location;
        this.monday = monday;
        this.tuesday = tuesday;
        this.wednesday = wednesday;
        this.thursday = thursday;
        this.friday = friday;
        this.saturday = saturday;
        this.sunday = sunday;
    }
}
